package com.ruoyi.loss.service;

import com.ruoyi.loss.domain.WellLostDescribe;
import com.ruoyi.loss.domain.vo.WellLostDescribeVo;
import com.ruoyi.loss.domain.bo.WellLostDescribeBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 本井漏失描述Service接口
 *
 * @author toteny
 * @date 2024-01-02
 */
public interface IWellLostDescribeService {

    /**
     * 查询本井漏失描述
     */
    WellLostDescribeVo queryById(Long id);

    /**
     * 查询本井漏失描述列表
     */
    TableDataInfo<WellLostDescribeVo> queryPageList(WellLostDescribeBo bo, PageQuery pageQuery);

    /**
     * 查询本井漏失描述列表
     */
    List<WellLostDescribeVo> queryList(WellLostDescribeBo bo);

    /**
     * 新增本井漏失描述
     */
    Boolean insertByBo(WellLostDescribeBo bo);

    /**
     * 修改本井漏失描述
     */
    Boolean updateByBo(WellLostDescribeBo bo);

    /**
     * 校验并批量删除本井漏失描述信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
